import pandas as pd
import seaborn as sns

sns.set(context="notebook", style="whitegrid", palette="dark")
import matplotlib.pyplot as plt
import tensorflow as tf
import numpy as np

df = pd.read_csv('ex1data1.txt', names=['population', 'profit'])
df.info()
print(df.head())

fig, ax = plt.subplots(1, 1)
ax.scatter(df.loc[:,0], df.loc[:1])
print(fig)
plt.show()
